import request from '@/utils/request'

export default {
  paging(page, limit) {
    return request({
      url: `/admin/borrowInfo/paging/${page}/${limit}`,
      method: 'get'
    })
  },
  detail(id) {
    return request({
      url: `/admin/borrowInfo/detail/${id}`,
      method: 'get'
    })
  },
  approval(borrowInfoApproval){
    return request({
      url: '/admin/borrowInfo/approval',
      method: 'post',
      data:borrowInfoApproval
    })
  }
}
